let mysqlpool = require("../../model/connect");
const cancel_loveStation=async (request,response)=>{
    let {charge_id} = request.query;
    //通过名字获取所有收藏信息
    let sql_insert = `Delete from love_station where charge_id='${charge_id}'`
    await mysqlpool.query(sql_insert, (err,res)=>{
        console.log("取消收藏",res);
        response.send("ok");
     })
    
}
module.exports=cancel_loveStation